[7194][ADD] stock_picking_product_barcode_report_lot_label: print the lot as a scannable barcode - #157
Draft
nobuQuartile wants to merge 1 commit into
Draft
Conversation
… lot as a scannable barcode The product barcode label of stock_picking_product_barcode_report prints the lot/serial number as plain text only, so an operator scanning the label still has to key the lot in by hand. Add a second Code128 symbol carrying the lot number underneath the product barcode. The xpath anchors in the non-GS1 branch on purpose: a GS1-128 barcode already carries the lot in application identifier (10), so a second symbol there would only duplicate it. The lot number itself is not reprinted, since the base template already shows it below the label.
nobuQuartile
marked this pull request as draft
September 1, 2026 10:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
QT7194
The product barcode label of
stock_picking_product_barcode_reportprints the lot/serial number as plain text only, so an operator scanning the label still has to key the lot in by hand. This module adds a second Code128 symbol carrying the lot number underneath the product barcode.Labels printed in GS1-128 format are left untouched: that barcode already carries the lot in application identifier
(10), so the xpath anchors in the non-GS1 branch on purpose. The lot number itself is not reprinted, since the base template already shows it below the label.Notes for the reviewer
axls-oca16.0.stock_picking_product_barcode_reportcurrently arrives via [7194][ADD] stock_barcodes, stock_picking_product_barcode_report, web_widget_numeric_step axls-oca#238. Thetest-requirements.txtentry below is therefore not included yet — adding it now would breakpip installfor the whole repo's CI. Please add it once #238 is merged:paperformat_labelis 47mm x 29mm (~82px). Existing content is ~61px, and the added barcode is 22px high, so it is close to the limit. Worth a test print before rollout.Testing
--test-enable -u stock_picking_product_barcode_report_lot_labelon 16.0:0 failed, 0 error(s) of 3 tests. The suite renders the report and asserts the barcode count — 2 with a lot, 1 without, and 1 in GS1-128 format (no duplicate).